'use strict';

/**
 * Module dependencies.
 */
var controller = require('../../app/controllers/controller.js');

module.exports = function(app) {
    app.route('/ita/findAllTrainee')
        .get(controller.findAllTrainee);
    app.route('/ita/getTraineeByDomainId/:domainId')
        .get(controller.getTraineeByDomainId);
    app.route('/ita/updateTrainee')
        .post(controller.updateTrainee);
};